*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#login,#register{
    position: fixed;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    background: url("/static/assets/img/lr.jpg") no-repeat center center fixed;
    background-size: 100%,100%;
}
.login_in, .register_in {
    width: 400px;
    height: 380px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 4px;
    background: #fff;
    box-shadow: 2px 2px 5px #808080;
}
.login_in {
    padding: 150px 40px 0;
}
.register_in {
    padding:30px 40px;
}
.avatar {
    width: 140px;
    height: 140px;
    position: absolute;
    left: 50%;
    top: -62px;
    transform: translateX(-50%);
    border-radius: 50%;
    border:10px solid #fff;
    box-shadow: 0 1px 5px darkgrey;
    overflow: hidden;
}
.form-control,.btn-block{
    margin-top: 15px;
}
.warn {
    position: absolute;
    left: 50%;
    top: 95px;
    transform: translateX(-50%);
    width: 320px;
    height: 50px;
}
span {
    display: block;
    margin-top: 20px;
    text-align: center;
    font-family: sans-serif;
}
span a {
    text-decoration: none;
    margin-left: 10px;
}
h2 {
    text-align: center;
    color: teal;
}
.register_mo {
    margin-top: 46px;
}
